import React from 'react';
import {Route} from 'react-router';

import {WeaLocaleProvider} from 'ecCom';
const getLocaleLabel = WeaLocaleProvider.getLocaleLabel.bind(this, 'portal');

import Workflow from './components/';

const Routes = [
    <Route ecId={`${this && this.props && this.props.ecId || ''}_Route@8uq0pl@Workflow`} path="element" onEnter={getLocaleLabel} component={Workflow}/>,
];

module.exports = {
    Route: Routes,
    com: {
        Workflow
    } ,titles:{
        Workflow:"流程元素"
    }

};
